// tsx 中模拟 v-on 语法

const handleClick = () => {
  console.log("button被点击了");
};

const tsxDom = () => {
  return (
    <>
      <button onClick={() => handleClick()}>点击</button>
    </>
  );
};

export default tsxDom;
